<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<c:set value="${pageContext.request.contextPath }" var="cPath" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>board/boardEdit.jsp</title>
<LINK type="text/css" rel="stylesheet" href="${cPath }/css/main.css"/>
<SCRIPT type="text/javascript" src="${cPath }/js/jquery-1.8.2.js"></SCRIPT>
<script type="text/javascript" src="${cPath }/se2/js/HuskyEZCreator.js" charset="utf-8"></script>
</head>
<body>
<div id="boardForm">
<form id="editForm" method="post" enctype="multipart/form-data" 
	action="${cPath }/boardbudUpdate.do">
<input type="hidden" name="bo_no" value="${boardbud.bo_no }"/>
<table>
	<tr>
		<th>제목</th>
		<td>
			<INPUT type="text" name="bo_title" value="${boardbud.bo_title }"/>
		</td>
	</tr>
	<tr>
		<th>작성자</th>
		<td>
			<INPUT type="text" name="bo_writer" value="${boardbud.bo_writer }"/>
		</td>
	</tr>
	<tr>
		<th>비밀번호</th>
		<td>
			<INPUT type="password" name="bo_passwd" value="${boardbud.bo_passwd }"/>
		</td>
	</tr>
	<tr>
		<th>이메일</th>
		<td>
			<INPUT type="text" name="bo_email" value="${boardbud.bo_email }"/>
		</td>
	</tr>
	<tr>
		<th>내용</th>
		<td>
			<TEXTAREA rows="5" cols="40" name="bo_content">${boardbud.bo_content }</TEXTAREA>
		</td>
	</tr>
	<tr>
		<td colspan="2">
			<input type="submit" value="저장하기" onclick=""/>
			<input type="button" value="목록가기" onclick="window.location.href='${cPath}/boardbudList.do'"/>
		</td>
	</tr>
</table>
</form>
</div>
<script type="text/javascript">
	<c:if test="${!empty msg}">
		alert("${msg}");
	</c:if>
</script>
</body>
</html>